#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
@author coldwind
"""

from bert_serving.client import BertClient

bert = BertClient(ip='10.22.145.137', show_server_config=False)
test_vector = bert.encode(["今天天气很好"])
print(test_vector)